package com.yhq.basic.design.mediator;

/**
 * @author hqyin
 * @date 2023/2/2 6:27 下午
 */
public class Alarm extends Colleague {
    @Override
    public void onEvent(Mediator mediator) {
        mediator.doEvent("alarm");
    }

    public void doEvent() {
        System.out.println("Alarm doEvent()");
    }
}
